home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: thor.cf.ac.uk!thor!san3mw
- From: wardle@cf.ac.uk (Mark Wardle)
- Subject: Re: Fastest way to clear a Window?
- Sender: news@cf.ac.uk (USENET News System)
- Message-ID: <DMIFJz.nKF@cf.ac.uk>
- Date: Fri, 9 Feb 1996 13:16:46 GMT
- X-Nntp-Posting-Host: thor
- Reply-To: wardle@cf.ac.uk
- References: <4fck5b$7mm@leofric.coventry.ac.uk> <4fcush$58b@apoll.informatik.uni-bonn.de>
- Organization: University of Wales College of Cardiff, Cardiff, Wales, UK
- X-Newsreader: TIN [version 1.2 PL2]
-
- Andreas Malerz (malerz@athene.informatik.uni-bonn.de) wrote:
-
- : Dave Jackson (dj@coventry.ac.uk) wrote:
- : : I'm writing a 3d graphics viewer thingy using intuition windows. What I
- : : want to know is, what is the fastest way of clearing a window?
-
- : Depending on your processor, you can try to do it with the CPU itself.
- : The fastest way I know is the following:
-
- : [Routine which grabs a pointer to a bitplane and then just writes all
- over it ]
-
- : This solution is systemfriendly and on a fast processor faster than the
- : blitter.
-
- yeah right... like writing direct to bitplanes, assuming their internal
- format is system-friendly...
-
- then again.. what about locking layers to prevent screen disruption if
- the window is moved whilst you're clearing the area... Jeez
-
-
- Mark Wardle
- wardle@cardiff.ac.uk
-